home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2672 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: ix.netcom.com!netnews
  2. From: Ed Young <tegy@ix.netcom.com>
  3. Newsgroups: comp.lang.misc,comp.lang.perl.misc,comp.lang.tcl,comp.lang.c,comp.lang.java
  4. Subject: Re: Relative Speed of Perl vs. Tcl vs. C
  5. Date: Mon, 22 Jan 1996 23:10:59 -0500
  6. Organization: Netcom
  7. Message-ID: <31045FD3.1625@ix.netcom.com>
  8. References: <4dhuoj$cbe@shellx.best.com> <9602122.8425@mulga.cs.mu.OZ.AU>
  9.         <4dudsf$187@cnn.Princeton.EDU> <ukvim4pceu.fsf@linda.teleport.com>
  10. NNTP-Posting-Host: ix-wil-del1-02.ix.netcom.com
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=us-ascii
  13. Content-Transfer-Encoding: 7bit
  14. X-NETCOM-Date: Mon Jan 22  8:11:19 PM PST 1996
  15. X-Mailer: Mozilla 2.0b5 (Win95; I)
  16.  
  17. Randal L. Schwartz wrote:
  18. > >>>>> "Tim" == Tim Hollebeek <tim@franck> writes:
  19. > Tim> An important point, though, is that all 'reasonably' written C programs
  20. > Tim> will run within a factor of 2 or so of 'about as fast as you can get,
  21. > Tim> while for some problems, Perl won't be able to break through about a
  22. > Tim> factor of 7 or so, even if you are a Perl expert.
  23. > I just want to point out to everyone that you are simply making that
  24. > figure up based on what you think Perl is doing internally.
  25. > Tom Christiansen has had a long-standing bet that someone can't give
  26. > him a program in C that he can't make run no more than "e" times
  27. > slower (about 2.8 for you non-math-geeks) in Perl.  So far, no one's
  28. > done it.
  29. > That's also been my experience as well.  Perl is *not* slow.  In fact,
  30. > a Perl-written egrep is *faster* than most vendor's egrep, for
  31. > example.
  32. > So, if you have a number of "7-times-slower" programs, post'em, and I
  33. > bet we can easily boost their speed by two or three times.
  34. > ObDisclaimer: Yes, I know a few things about Perl. :-)
  35. > --How about diff? ...
  36.